﻿using System;

namespace TickSharp.Core.Model
{
    public class Entry
    {
        public int Id;
        public int UserId;
        public DateTime Date;
        public float Hours;
        public string Notes;

        public bool Billable;

        public int ProjectId;
        public int TaskId;

        public override string ToString()
        {
            return String.Format("[{0}] User: {1} Date: {2} Hours: {3} Notes: {4} Billable {5}", Id, UserId, Date, Hours,
                                 Notes, Billable);
        }
    }
}
